package android.slc.sys.ui;

import android.app.Application;
import android.slc.appbase.vm.AppBaseViewModel;
import android.slc.sys.R;

import androidx.annotation.NonNull;
import androidx.databinding.ObservableField;

import com.blankj.utilcode.util.AppUtils;
import com.blankj.utilcode.util.StringUtils;

/**
 * @author slc
 * @date 2020-09-23 16:13
 */
public class AboutWeVm extends AppBaseViewModel {
    public final ObservableField<String> appNameOf = new ObservableField<>();

    public AboutWeVm(@NonNull Application application) {
        super(application);
        appNameOf.set(StringUtils.getString(R.string.sys_label_current_version, AppUtils.getAppVersionName()));
    }
}
